<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div class="fl left">
    	<div ><img src="images/leftImg1.jpg" alt="left img" /></div>
    	<div class="leftSub">
        	<ul id="nav">
            	<li><a href="<%=basePath%>trade/shipInfoList">船舶日志管理&nbsp;&nbsp;</a></li>
                <li><a href="<%=basePath%>trade/shipMaterialList">物料清单管理&nbsp;&nbsp;</a></li>
                <c:if test="${sessionScope.memberSessionInfo.userType.value eq '0'}">
               	 <li><a href="<%=basePath%>trade/deptList">部门管理&nbsp;&nbsp;</a></li>
               	 <li><a href="<%=basePath%>trade/userList">用户管理&nbsp;&nbsp;</a></li>
                </c:if>
                <li><a href="<%=basePath%>trade/changePass">修改密码&nbsp;&nbsp;</a></li>
                <li><a href="<%=basePath%>trade/logout">退出&nbsp;&nbsp;</a></li>
            </ul>
        </div>
</div>
<script type="text/javascript">
// class="current"
var navrefs= document.getElementById('nav').getElementsByTagName('a');
var find_out=false;
for (var i=0, len = navrefs.length;i<len;i++){
	if (location.href.indexOf(navrefs[i].href)>-1){
	     navrefs[i].className = 'current';
	     find_out=true;
	} else {
	     navrefs[i].className = ''; 
	}
}
if(find_out==false){
	navrefs[0].className = 'current';
}
</script>